/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.mwas.proteana.file.parsers;

import java.io.File;
import java.io.IOException;
import pl.mwas.proteana.annotations.GOAnnotation;

/**
 *
 * @author mateusz.was
 */
public class GoaFileParser extends FileParser {

    public GoaFileParser(String path) throws IOException {
        super(path);
    }

    public GoaFileParser(File file) throws IOException {
        super(file);
    }

    @Override
    public void parseLine(String line) {
        if (!line.startsWith("!") && !line.equals("")) {
            parsedOutput.add(new GOAnnotation(line));
        }
    }

}
